home *** CD-ROM | disk | FTP | other *** search
- Path: news.umbc.edu!not-for-mail
- From: schlein@umbc.edu (Jonas J. Schlein)
- Newsgroups: comp.lang.c
- Subject: Re: void main() and other atrocities!
- Date: 3 Feb 1996 16:22:23 -0500
- Organization: University of Maryland Baltimore County
- Message-ID: <4f0jmf$4g0@umbc9.umbc.edu>
- References: <4eduaj$1aq@grouper.Exis.Net> <4emub9$1mo@fountain.mindlink.net> <4epplj$egf@host-3.cyberhighway.net> <4erjn2INN38b@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: umbc9.umbc.edu
- NNTP-Posting-User: schlein
-
- Kazimir Kylheku <c2a192@ugrad.cs.ubc.ca> wrote:
- |> There is nothing with 'void main()'. It's not giverned by the ANSI standard,
- |> first of all, because that is not an ANSI definition. An ANSI definiton
- |> would be more like 'void main(void)'.
- |>
- |> You don't need main() to be defined has having any sort of return value
- |> unless you plan to "return" out of it. If you use exit(0) like me,
- |> declaring the function void is ok, since your function never returns.
- |>
- |> The antsy standard is _great_ for assuring me that my bike helmet is safe,
- |> mind you.
-
- Pardon my French, but please stop talking out of your @$$. Obviously you
- have never read the FAQ or if you did it didn't sink in. Questions
- 11.12, 11.14 and 11.15 should set ya straight. It's freely available
- in electronic format at:
-
- ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/lang/c/C-FAQ-list
- --
- "If it wasn't for C, we would be using BASI, PASAL, and OBOL."
-
- Jonas J. Schlein (schlein@gl.umbc.edu)
-